package com.slipper.system.api.organization.bo;

import com.slipper.common.bo.CommonBO;
import com.slipper.common.excel.ExcelColumn;
import com.slipper.common.excel.ExcelInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * 组织机构信息表
 *
 * @date 2020-03-26 14:59:54
 */
@ExcelInfo(startRow = 1)
public class OrganizationBO extends CommonBO {
    private static final long serialVersionUID = 1L;
    /** 01 单位 */
    public static final String TYPE_UNIT = "01";
    /** 02 部门 */
    public static final String TYPE_DEPT = "02";

    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 父主键ID */
    private String parentId;
    /* 简称 */
    @ExcelColumn(nullable = false)
    private String shortName;
    /* 全称 */
    @ExcelColumn(index = 1, nullable = false)
    private String fullName;
    /* 排序 */
    @ExcelColumn(index = 2, nullable = false)
    private Integer ordinal;
    /* 类型 */
    @ExcelColumn(index = 3, nullable = false, dicKey = "dicOrgType")
    private String type;
    /* 备注 */
    @ExcelColumn(index = 4)
    private String remark;
    /* 地址 */
    private String address;
    /* 联系人 */
    private String contactMan;
    /* 联系方式 */
    private String contactPhone;
    /*分管领导ID*/
    private String leadId;
    /*分管领导名称*/
    private String leadName;
    /*科长ID*/
    private String chiefId;
    /*科长*/
    private String chiefName;
    /* 是否有效 */
    private String valid;
    /* 创建时间 */
    private Date createTime;

    /* 查询条件，根据员工ID查询 */
    private String employeeId;
    private String[] types;
    /* 层级名称 */
    private String levelName;
    private String numberLevelName;
    /* 更新时间 */
    private Date updateTime;
    /* 文件导入 */
    private MultipartFile file;
    private Integer num;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String[] getIds() {
        return ids;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getShortName() {
        return shortName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getFullName() {
        return fullName;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String[] getTypes() {
        return types;
    }

    public void setTypes(String[] types) {
        this.types = types;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid;
    }

    public String getNumberLevelName() {
        return numberLevelName;
    }

    public void setNumberLevelName(String numberLevelName) {
        this.numberLevelName = numberLevelName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContactMan() {
        return contactMan;
    }

    public void setContactMan(String contactMan) {
        this.contactMan = contactMan;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getLeadId() {
        return leadId;
    }

    public void setLeadId(String leadId) {
        this.leadId = leadId;
    }

    public String getLeadName() {
        return leadName;
    }

    public void setLeadName(String leadName) {
        this.leadName = leadName;
    }

    public String getChiefId() {
        return chiefId;
    }

    public void setChiefId(String chiefId) {
        this.chiefId = chiefId;
    }

    public String getChiefName() {
        return chiefName;
    }

    public void setChiefName(String chiefName) {
        this.chiefName = chiefName;
    }
}
